<template>
    <div>
        <div v-if="$route.query.orderId">
            <Detail />
        </div>
        <div v-else>
            <AllOrder />
        </div>
    </div>
</template>
<script setup lang="ts">
import AllOrder from './components/allOrder/index.vue';
import Detail from './components/detail/index.vue';
import { useRoute } from 'vue-router';
let $route = useRoute()
</script>
<style scoped lang="scss"></style>